﻿@using mscook.mvc;
@using System.Collections.Generic;
@model mscook.core.services.ImageSettingFactory.ImageSettingSection 


@using (Html.BeginForm("add", "platimage", FormMethod.Post, new { data_val = "true" }))
{   
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h3>板块图片</h3>
    </div>
    @Html.ValidationSummary(true, "", new { @class = "red" }) 
    <div class="modal-body">
        <fieldset>
            <div class="control-group">
                <label class="control-label">Name</label>
                <div class="controls">
                
                    @Html.DropDownList("alias",ViewBag.SelectList as SelectList)
                    @Html.ValidationMessageFor(m => m.alias)
              


                </div>
            </div>
            <div class="control-group">
                <label class="control-label">Alias</label>
                 <div class="controls">
                    @Html.TextBoxFor(model => model.name, new { @class = "input_text", size = "30", role = "textbox" })
                    @Html.ValidationMessageFor(m => m.name)


                </div>
            </div>
            
        </fieldset>

    </div>

    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">Close</a>
        <input type="submit" value="提交" class="btn btn-primary" />
        <!--<a href="#" class="btn btn-primary">Save changes</a>-->
    </div>

}
